package com.vq;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import java.util.Scanner;

@SpringBootApplication
@ServletComponentScan("com.vq.filter")
@EnableCreateCacheAnnotation//jetCache启用缓存的主开关（开启使用注解创建缓存）
public class NewVqWebServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(NewVqWebServerApplication.class, args);
        Scanner sc = new Scanner(System.in);
        String str = "";
        while(true) {
            str = sc.nextLine();
            if("exit".equals(str)) {
                System.exit(1);
            }
        }
    }

}
